Try harder to open broken files

Bug #75232