docs: public static <MSG extends Message> void writeStream(Iterable<MSG> messages, File toFile, boolean append) {
      OutputStream out = null;
      try {
        out = new BufferedOutputStream(new FileOutputStream(toFile, append));
        writeStream(messages, out);
      } catch (Exception e) {
        throw ContextException.of("Unable to write messages", e).addContext("file", toFile);
      } finally {
        IOUtils.closeQuietly(out);
      }
    }