Use UTF-8 encoding for generated xml files as per encoding specified in xml file