remove directory with subnodes