Output errors on the correct stream