title: How to pipe to a file (NodeJS)
body: <p>I have created some image data which I've obtained from pixels. Anyway, now I would like to write a file using <a href="https://github.com/scijs/save-pixels" rel="noreferrer">save-pixels</a>, but the docs only give</p>
  
  <pre><code>var savePixels = require("save-pixels")
  ...
  savePixels(pixels, "png").pipe(process.stdout)
  </code></pre>
  
  <p>How to rewrite this such that it writes it to a file with a specific name ?</p>