(2.7x) backport r13803 for bug #5102
(libT) #5102 'don't invalidate the OS' filesystem cache when closing files -- done.