Fix name expansion bug for case where uri_strs is itself an iterator (issue #131)