Bugfix. Invalid syntax spec file generated when `-w --onefile` options gave on OS X.

As above.