more invalid xml byte workarounds

upstream doesn't seem to care
remove unicodewarning