Changes to export.py so it works in Python 2.6.6

Some small fixes so I could run export.py in Python 2.6.6 without
getting errors.
Also updated the default path to 'hubo2.robot.xml' since that moved to '../robots'.