Factored out calls to shell to a function.
Ignore the DQMCalibration and CalibrationDQM streams, retransfer files that are not CHECKED, handle two different CMSSW versions