XDXF: Handle utf8 decoding errors (from 37cf3c5)