public URI toUri(JimfsPath path) {
    fileStore.state().checkOpen();
    return pathService.toUri(uri, path.toAbsolutePath());
  }
Gets the URI of the given path in this file system.
jimfs/src/main/java/com/google/common/jimfs/JimfsFileSystem.java