Replace $ and . characters in command keys.

Mongo bars on them. We replace them with Unicode characters.