Add a Python 2.6 fix

lxml wasn't working right in Python 2.6, and crapping out at the end of
scanning a datfile. Added a try except statement.