Legacy: before discovering 'cpio -ivd -H tar' I coded this to recover files from corrupt .tar balls