Added support for tgz package extension.