fix corrupted CR2 files