Support tar.gz and tar.bz2 archive

Sometimes someone need tar.gz package to deploy the project or host the package.