Sanitizing perf counter names