Minor typo fixes to scripts/xml_to_*.py