Implement state::un_chdir_targets
Initial do-file search strategy.

Capture the structure of the do-file search as iterators. We are still
missing the necessary extra data, like directory, basename, and
extension. And I think the logic can be simplified using some of the
iterator combinators.