cpp/filesystem/directory entry/replace filename

Changes the filename of the directory entry.

Effectively modifies the path member by and calls  to update the cached attributes. If an error occurs, the values of the cached attributes are unspecified.

This function does not commit any changes to the filesystem.

Return value
(none)