This (and the following one) should instead be just using `try!(w.write(…))`.