Put error output to stderr
pep8 fixes