Support compress tar.gz and tar.bz2 archiver