patch applied (cabal-branches/cabal-1.6): Use copyOrdinaryFile and copyExecutableFile instead of copyFile