iCOR L8 and S2 processing failure SNAP 5.0

for me this little hack made iCor processing of S-2 data work within SNAP. no guarantee for generality, but you might give it a try.