We have a lot of ad-hoc path-handling that is probably better handled by a library. Enter, [pathlib](https://docs.python.org/3/library/pathlib.html) In particular validation: - Theoretical: is this string a valid path? - and practical: Is this path a Symlink? Paths are dangerous! (#111) and should be handled with care. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/49529369-refactor-replace-our-ad-hoc-path-handling-with-pathlib?utm_campaign=plugin&utm_content=tracker%2F70027116&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F70027116&utm_medium=issues&utm_source=github). </bountysource-plugin>