Improve contests file normalization.