tincctl: Use replace_name to properly replace and validate input hostnames