Fix UnicodeEncodeError

Hello,

I fixed some annoying bug with unicode:

```UnicodeEncodeError: 'ascii' codec can't encode character u'\u0142' in position 15: ordinal not in range(128)   ```

Regards!