print warnings to STDERR

In my opinion warnings should be written to STDERR.