Must return unicode rather than bytes for strings in Python3.