Don't use S format for iri_to_uri strings, as that fails in python 2