Python ElementTree toString write () El argumento debe ser Str, no bytes

>>> type(tostring(element, encoding="unicode"))
<class 'str'>
Breakable Bee