Faster path2browse using scandir
Faster path2browse using scandir

Benchmarks (1000 reps, run with counts, on the SS source tree):

Previously: 7.956387043, 10.972837925, 7.72387599945 (avg 8.884366989)
Revised: 4.11770486832, 5.46784090996, 4.42623496056 (avg 4.67059358)

Around 48% faster.

artefactual/archivematica-storage-service,artefactual/archivematica-storage-service,artefactual/archivematica-storage-service,artefactual/archivematica-storage-service