Update convert.py

Write xml file with msgid attribute