Track exe images for tasks and make Task::dump_all() more helpful.

Sort-of resolves #665.