output errors to stderr
fixes #10