set undo and swp files to use temp dir