Strip non-numeric characters from metrics.

This is a copy of the Zenoss 4 behavior that used to be performed in
Products.ZenRRD.RRDUtil.put().

Fixes ZEN-14618.