title: Java 8 stream to file
body: <p>Suppose I have a <code>java.util.stream.Stream</code> of objects with some nice <code>toString</code> method:
  What's the <strong>shortest/most elegant solution to write this stream to a file</strong>, one line per stream element?</p>
  
  <p>For reading, there is the nice <code>Files.lines</code> method, so I thought there must be a symmetric method for writing to file, but could not find one.
  <code>Files.write</code> only takes an iterable.</p>