code: public void close() throws IOException {
          final ByteStringBuffer buffer = new ByteStringBuffer();
          buffer.append("\t</dsml:directory-entries>\n");
          buffer.append(eol);
          buffer.append("</dsml:dsml>");
          buffer.append(eol);
          ldifOutputStream.write(buffer.toByteArray());
      }
docs: Close the {@link FormatWriter} writing the closing tags.
  
  @throws IOException If there was a problem writing to the underlying output stream.