Strip whitespace from stdout before it gets into Redis.