fix new archive reader
borrow more libalpm plumbing now