python ElementTree's tostring method return byte instead of string
take care when user this method, only if the encoding of this method is unicode, it will return str else byte will be back. official document as:
Use encoding="unicode" to generate a Unicode string (otherwise, a bytestring is generated).
also find a useful website: pymotw