@VisibleForTesting
  public static void createBlockPath(String path, String workerDataFolderPermissions) {
    try {
      String parent = PathUtils.getParent(path);
      createStorageDirPath(parent, workerDataFolderPermissions);
    } catch (InvalidPathException e) {
      throw new InternalRuntimeException(
          "Failed to create block path, get parent path of " + path + "failed", e);
    }
  }
@Test
  public void createBlockPath() throws IOException {
    String absolutePath = PathUtils.concatPath(mTestFolder.getRoot(), "tmp", "bar");
    File tempFile = new File(absolutePath);
    FileUtils.createBlockPath(tempFile.getAbsolutePath(), mWorkerDataFolderPerms);
    assertTrue(FileUtils.exists(tempFile.getParent()));
  }