Updated xml_convert.py to use native line endings and remove empty folders from output directory.
Changed to manually add the xml declaration to get the correct line ending. ElementTree always use unix style.