finish fixing unicode file positions for error messages