add support for either tar or tar.gz, and unpack from either Artifact or ArtifactDownload