Fix invalid 0777 token in script_generator.py

Python 3 doesn't support numeric literals that start with 0.  I didn't even know this was a problem until I tried to install this with 3.4.
Fix octal literal
Merge pull request #13 from dan-blanchard/patch-1

Fix invalid 0777 token in script_generator.py