Fix for Issue #1134: scanf does not treat line-feeds as whitespace

This can become a problem with fscanf on files from windows machines.
And as an added bonus, vertical-tabs and form-feeds work as well.