Add support for tgz (tar+gzip) output