Replace #gsub with #tr

I just thought about how often we'll be stripping dashes. If the behavior
survives, it ought to be as performant as possible. A quick benchmark
indicates that #tr is clearly a better choice than #gsub here.