save file backups in a temporary directory