Replaced null character check with iterator end check.
Merge pull request #134 from pepshiso/csv

Replaced null character check with iterator end check.