Clean field name

Spaces are illegal in munin field names, so clean the name of the encoder before using it.