Fix issue #23

`__unicode__` or `__str__` is used, depends on the python version