Fixed removing of symlinks.