Skip zipping deleted files and reset readonly flag of temporary file.