Fix sending by email not working on computers with non-ascii hostnames.  Fixes #1256549 [E-mailing has problems on French Windows installation](https://bugs.launchpad.net/calibre/+bug/1256549)