Support tgz in addition to zip archives