Hostname fix

Avoiding non-ascii hostnames