Properly support decompressing `tar` files. Refs #7244.
Merge pull request #7632 from s0undt3ch/issues/7244-archive.tar-untar

Properly support decompressing `tar` files. Refs #7244.