Fix some UnicodeDecodeErrors on python3 in xerox.paste()