[PATCH] virDomainMachineNameAppendValid: Handle special characters better