Make Extractor accept Path as input
_The documentation is not available anymore as the PR was closed or merged._
This PR:
- Makes `Extractor` accept instance of `Path` as input
- Removes unnecessary castings of `Path` to `str`