downloads and extracts an archive (currently tgz) from a uri