fix XmlItemExporter in Python 2.7.4 and 2.7.5
Merge pull request #372 from kmike/xml-exporter-fix-for-2.7.4

fix XmlItemExporter in Python 2.7.4 and 2.7.5