Changed file.Chmod with os.Chmod because file.Chmod fails horribly on wi...

What the title says :)