Fixed the StreamingXMLWriter broken in Python 2.7.5