Fix error when a zip file cannot be opened