Fix python 3 support: Python 3 doesn't have unicode objects ...

Signed-off-by: Jerome Flesch <jflesch@gmail.com>