Migrate message_about_scripts_not_on_PATH
to use pathlib
#11903
Closed
message_about_scripts_not_on_PATH
to use pathlib
#11903