Save temporary file