Close files used by create_xml_from_yaml()