BUG Sanitise output.

If Director::is_cli() is true we should not do this correct?