Fix crash at ZipFile::~ZipFile() on Android.
Merge pull request #3804 from Dhilan007/master

[ci skip]Fix crash at ZipFile::~ZipFile() on Android.