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).
Okay :)

Just added a commit to use six as much as possible. Will go open a PR for six soon too.