Remove final dash before baking the string

I haven't profiled (or even tested) this, but this should be better.