Unbuffered output to stdout and stderr