code: public void toFile(final File file) throws GitChangelogRepositoryException, IOException {
      createParentDirs(file);
      write(render().getBytes("UTF-8"), file);
    }
docs: Write changelog to file.
  
  @throws GitChangelogRepositoryException
  @throws IOException When file cannot be written.