Fix crash at ZipFile::~ZipFile() on Android.