pub(crate) fn write_stdout(text: &str) -> Result<(), CliError>
Write text to stdout without using print macros.