Fix typo in xml serializer

This was leading to a crash when extra_attrs were passed. Fixes[t:760]

git-svn-id: http://fife.svn.cvsdude.com/engine/trunk@4091 33b003aa-7bff-0310-803a-e67f0ece8222