code: private static Path pathForMetadata(Path root, String namespace, String name) {
      return new Path(
          FileSystemDatasetRepository.pathForDataset(root, namespace, name),
          METADATA_DIRECTORY);
    }
docs: Returns the correct metadata path for the given dataset.
  @param root A Path
  @param name A String dataset name
  @return the metadata Path