Errors and warnings are printed to stderr.

Fixes https://github.com/aws/aws-cli/issues/820

cc @jamesls @danielgtaylor 
Don't use equality checks to compare booleans, just `if print_to_stderr and ...`