Merge pull request #1 from pyinstaller/develop

Merge pull request #51 from handsomegui/develop
Bugfix. Generating invalid syntax spec file while passing `-w --onefile` options on OS X.
Merge pull request #52 from handsomegui/develop

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