fix case mismatch in missing file detection.