Fix the open file leak fix.