Why capture errors from `Write`, but not `Flush`?  It's as likely to happen in either place.  It might even be more likely for `Flush`.