Enforce pathlib.Path instead of str
#3350
+1,045
−1,207
Draft