chmod not supported by windows
ran gofmt
fixed Chmod on windows

Apparently os.File has a Chmod method attached to it that is not supported on windows. os.Chmod works however...
gofmt...
Merge pull request #6 from gabriel-samfira/remove-defer

Remove defer