Simplify UserAgentGenerator, only execute string.Format once