unicode 2/3

Hey there,
I made a small change so the code so the lib can be used with python3 as well.