Convert string to unicode (required in Python 2).

def _native_to_unicode(s):
  """Convert string to unicode (required in Python 2)."""
  if six.PY2:
    return s if isinstance(s, unicode) else s.decode("utf-8")
  else:
    return s