added explicit archive type param for uris lacking sufficient file suffix