patch applied (cabal-branches/cabal-1.10): "Reimplement createDirectoryIfMissingVerbose to use sensible file permissions"