Convert cname to punnycode