construct sensible paths during recursive glob walk

Fixes #155