Support both tar.gz and tar.bz2 archives.
Use \z instead of $ for matching extension.
Merge pull request #21 from TeamAmalgam/bzip-support

Support both tar.gz and tar.bz2 archives. Fixes #20