However this feature can be much easier implemented than one thinks.
...and also in a much more powerful way!
Just add a single checkbox.
See here:
When the highlighted checkbox will be checked and a compatible output format is chosen, the Batch Convert will generate just one output file having as pages the processed input images.