Implement trivial whitespace replacer.

Doesn't handle escaped whitespaces, yet.