CMake Nightly Date Stamp
file: Do not remove symlinked directories recursively (#10538)

If a symlink points at a directory the symlink should be removed but not
the content of the directory.
Merge topic 'file-REMOVE_RECURSE-symlink' into next

f123367 file: Do not remove symlinked directories recursively (#10538)
1324500 CMake Nightly Date Stamp