GH-110109: pathlib ABCs: drop use of io.text_encoding()
#113417
+18
−3
Merged