Emit errors to stderr, not stdout

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>