fixed rmrf to deal correctly with symlinks