DuckPAN: support IA typing more easily.

- Expose a singular hashref with directory and related info.
- Use a more platform independent way of constructing directories.
  Except that IO::All thwarts this.

This could definitely use some cleanup (and probably some actual Type
Objects), but the basic idea is here.