Make sure that running the tool on windows gives the same output (newline conversion)
diff --git a/bindings/const_generator.py b/bindings/const_generator.py
index 642d934..7769cbc 100644
--- a/bindings/const_generator.py
+++ b/bindings/const_generator.py
@@ -70,7 +70,7 @@
     print('Generating bindings for', lang)
     for target in include:
         prefix = templ[target]
-        outfile = open(templ['out_file'] %(prefix), 'w')
+        outfile = open(templ['out_file'] %(prefix), 'wb')   # open as binary prevents windows newlines
         outfile.write(templ['header'] % (prefix))
 
         lines = open(INCL_DIR + target).readlines()