Set the temporary directory just in case it had a weird setting elsewhere.