Add tar to the possible barn-agent distributions produced.
Ensure all directory listing is sorted.

Turns out to not be a guarantee in boost.
Fix function specs.