code: public OutputStream getOutput(String pathname, boolean append) throws IOException {
        return getOutput(pathname, append, defaultChunkSize);
     }
docs: Opens an OutputStream for writing to the file denoted by pathname. The OutputStream can either overwrite the
  existing file or append to it.
  @param pathname the path to write to
  @param append if true, the bytes written to the OutputStream will be appended to the end of the file. If false,
  the bytes will overwrite the original contents.
  @return an OutputStream for writing to the file at pathname
  @throws IOException if an error occurs