Added use of temporary-file-directory for emacs save files