code: public static StoreWriter createWriter(File file, Configuration config) {
      return StoreImpl.createWriter(file, config);
    }
docs: Creates a store writer with the specified <code>file</code> as destination.
  <p>
  The parent folder is created if missing.
  
  @param file location of the output file
  @param config configuration
  @return a store writer