update to work with latest Cabal HEAD: switch to withTemp{File,Directory}Ex