Fix __unicode__ methods for Python 3.

Change-Id: Id92c7fc57bb795950072ab8041143a8fe39d3e23