Extract files from a zip whose central directory is damaged
Source:R/12_patch_index.R
stream_unzip.RdLast resort in extract_zip_files(). Some IRS zips cannot be
opened by index; reading them front to back from the local file headers
works for entries compressed with ordinary Deflate. The zip is piped through
libarchive's bsdtar in streaming mode and only the wanted files are
extracted. On Deflate64 entries bsdtar writes zero-filled files, which
is why the caller validates the output.