Try to fix crash when zip_open_from_source returns an error.