PY3: fix xmlrpclib and email imports

Two minor fixes, should work out of box.

In the next PR I'll deal with StringIO, maybe add some encoding too (if needed).