tests: Update XmlFile unittest.
examples: Add simple_createrepo.py.