Now that we are Python 3.6+ only, it makes more sense to use the more readable `pathlib.Path` interface rather than os-level functions.