Eliminate use of features that are specific to ElementTree 1.3, introduced in python 2.7.