Fixed rdf file write issue with python 3.