It looks like etree wants a byte string, not unicode input