[Python-ideas] Add methods to perform path validation to pathlib.Path