add python3 support by 2to3

Only one line change and yet add python3 support.