patch applied (cabal-install): Add compat withTempDirectory function