Save the XML file