Use a proper temporary directory.