CLN/DEPR: Fix instances of 'U'/'rU' in open(...)

#7131