Allow reduction of raw files in batch mode

re #8133
Merge remote-tracking branch 'origin/feature/8133_sans_batch_raw'