Fixes cpio_test and tar_test.
more appropriate functions.
for all archives to a separate module. This splits tar from cpio as they are very different but keeps cpio, cpio_be, odc and newc together since they're very similar.