Fix compat functions for setting file permissions on windows
Fix compat functions for setting file permissions on windows

Spotted by Dominic Steinitz

20090205224415-adfee-35ce0329a71263ac88cde0f25ff1aee9cfd78723.gz

dcreager/cabal,dcreager/cabal