Making extractTo method compatible with ZipArchive class