Fixed parsing from a filename

The file must be opened in binary mode, otherwise the
scan.scanner.Cursor class comes into troubles since a CLRF newline is
counted as a single character while the file-handle actually reads two
characters (therefore the file-position is unsynchronized).