Remove and add angular brackets when necessary.

The generated HDT file did not contain angular brackets
around type IRIs of literals, because of a HDT bug:
https://github.com/rdfhdt/hdt-cpp/pull/2
This commit contains a corrected HDT test file,
and correctly deals with angular brackets.