Improve file.directory documentation around `recurse`

Fixes #13866