fix import error

- try-except block has been added in order to import old elementtree lib if xml.etree.ElementTree does not exist