Randomized choice of next input file

The work unit provider used to always select the first element available from listdir.  Now it does a random choice from the listing.