Make sure that string data is always unicode in Python 2.