Remember to unescape strings from the PostgreSQL dump as well.
Strip valid UTF-8, but invalid XML 1.0, chars from attributes.