Remove path methods and property from RecursiveScanner

The RecursiveScanner uses the PathScannerTrait, so it's just duplicate code.