Fix hanging when diffing files with equal beginnings.