Fix output XML file encoding.