rdf/formatter: replace spaces with '%20' in URIs