@Override
  public Path dir(String dir) throws IOException {
    Path result = currentPath.resolve(dir);
    Files.createDirectories(result);
    return result;
  }
Basically the same as {@link DirectoryFixture#dir(String, Closure)}, but with the current root as base.
spock-core/src/main/java/spock/util/io/FileSystemFixture.java