uri_to_iri port decoding fix for py 3.3 (if port is already str)