Fixup corrupted file.