code: public static String sanitizeDirectory(String name) {
          if (isBlank(name)) {
              return name;
          }
          return sanitize(name).replace(".", "");
      }
docs: Also remove any dots in the directory name
  
  @param name
  @return