warnings go to stderr

Warnings should always go to STDERR, not STDOUT.