Fix unicode error on Python 2