do not add an extra newline when writing shell output