Fixed temporary file deletion