fixes Bug 912552 - statsd failing on non-ascii characters