docs: public static void writeString(String obj, OutputStream file) {
      try {
        IOUtils.write(obj.getBytes("UTF-8"), file);
        file.close();
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }