GH-119169: Simplify os.walk() exception handling
#121435
+35
−50
Merged