Add github tarball support.

Github doesn't support downloading using the .tgz extension. This adds support for the .tar.gz extension.