Fix error in CMSSW executor when using TFileService