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