Fix statsd exception when tags contain a unicode character