extract_sub_dir_seq, together with seq_files_extractor, allow extracting files from a pxar Decoder, along with the existing option for an Accessor. To facilitate code re-use, some helper functions are extracted in the process. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>