ZipFolder: close zipfile on error