Save temp and backup files in a specific directory