Small patch for Python 2.6 support

In Python 2.6, ElementTree.register_namespace() does not exist.