Output error messages to stderr rather than stdout