fix rmtree on symlink