[Chapel Merge] Remove remaining deprecated Path module methods on

Branch: refs/heads/main
Revision: d85f3b1
Author: lydia-duncan
Link: Remove remaining deprecated Path module methods on the file type by lydia-duncan · Pull Request #19302 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19302 from lydia-duncan/removeDepPathFuncs

Remove remaining deprecated Path module methods on the file type
[reviewed by @dlongnecke-cray]

These were deprecated in 1.25 in favor of standalone functions on the file type.
Remove them now that the module is stable and users have had a release cycle to
notice the deprecation warning.

Handles part of #3099

While here, noticed that the error messages in realPath(f: file) still
pretended to be in the method version, so updated their wording.

Updated one test that was depending on the error message wording, but
otherwise passed a full paratest

Modified Files:
R test/deprecated/pathFile.chpl

R test/deprecated/pathFile.good
M modules/standard/Path.chpl
M test/library/standard/Path/lydia/realpath/fileNotValid.good

Compare: https://github.com/chapel-lang/chapel/compare/11b6d2844d50...d85f3b123553