Fixed iers_open on Windows.
The file needs to be opened with CRLF translation in order for the
length of strings returned by strlen to match the number of characters
read from the file.  The thought occurs that there are probably better
ways to do this, e.g. doing ftell after the read.