Mitigate Python 2's terrible support for unicode