docs: public static Path createTempDirectory(Path dir, String prefix) throws IOException {
          try {
              return Files.createTempDirectory(dir, prefix);
          } catch (UnsupportedOperationException ex) {
          }
          return Files.createTempDirectory(dir, prefix);
      }