fix line number offset for compilation errors

`eval` takes a starting line number.  Calculate it by starting with 1 and subtracting the number of generated `#__nosave__` lines to skip over when reporting errors.

use CRLF line endings on Windows when saving files