Support tar.gz and tar.bz2 archiver