fix ZipException
Merge pull request #1049 from sgalles/delete-file-exception

fix ZipException