lxml: replace deprecated etree getiterator/getchildren
These methods were deprecated in stdlib xml.etree and also in lxml, and are ultimately removed in python 3.9.
These methods were deprecated in stdlib xml.etree and also in lxml, and are ultimately removed in python 3.9.