Fixes #1276: make :warning and :error messages log to stderr