Merge pull request #64 from certifi/alex-patch-1

Use a more expressive API for getting the dir a path is in