Fixed STDERR stream

Used wrong and native stderr. Changed to sys.stderr.