fixed Chmod on windows

Apparently os.File has a Chmod method attached to it that is not supported on windows. os.Chmod works however...