Thanks for the tips, I've simplified this. I don't think it's possible for the file lists produced by `untar` and friends to contain NA entries, although if you think this is possible I can write it such that these are ignored.