fix #10890: extend blitz preprocessor to containers

Fixes https://trac.openmicroscopy.org.uk/ome/ticket/10890 to make `integration.chgrp.TestChgrp.testChgrpAllDatasetsFilesetOK` pass in the merge build.

There's scope for some refactoring for code reuse and performance improvement, but the behavior should already be as required.