sys.stderr were giving exception (from sys import stderr)