Set the proper path for temporary files.