Update reader to use new libarchive interfaces