Mantis #6146: JVSimpleXml SavetoFile ends up with malformed and unreadable XML File