snippets: Replace deprecated XMLTreeBuilder with XMLParser

XMLTreeBuilder was changed to XMLParser in ElementTree 1.3.
Python 3.4 dropped the compatibility XMLTreeBuilder object.
This change simply uses the new object name to fix compatibility
with Python 3.4.

https://bugzilla.gnome.org/show_bug.cgi?id=724803