Fixing whitespace skipping on istream reads.