[client] Fix delete folder bug.