docs: public static boolean writeStream(String filePath, InputStream stream, boolean append) throws IOException {
          return writeStream(filePath != null ? new File(filePath) : null, stream, append);
      }