remove duplication of code in RDFWriterSelector, use type instead

As explained in issue #200 .

What I don't understand is why I need at times to give the full path to RDFWriterSelector in 3 or 4 places.