use __stdout__, and handle ValueError.

Expect ValueError("I/O operation on closed file")
could be raised on init if stdout is (also!) closed,
though not so likely.