in fuel_utility.py [0:0]
def write_file(self, output_filename, root):
f = open(output_filename, 'wb')
xml_string = ET.tostring(root,
pretty_print=True,
encoding='utf-8',
xml_declaration=True)
f.write(xml_string)
f.close()