Fixes #37097 - Use automatic compression based on file path for tar
This way users can pass .tar.xz to get XZ compression too. One side effect is that by default we won't compress anymore since the file extension is .tar. On the other hand, it's less confusing for users that you have a .tar extension which should be .tar.gz.
Related issues
Bug #37097: Katello certificate tarball is actually .tar.gz instead of .tar
Fixes #37097 - Use automatic compression based on file path for tar
This way users can pass .tar.xz to get XZ compression too. One side
effect is that by default we won't compress anymore since the file
extension is .tar. On the other hand, it's less confusing for users that
you have a .tar extension which should be .tar.gz.