Bug fixes on the rdf dump generator