CS fixes
Merge pull request #2 from GrahamCampbell/cs-fixes

Make sure eof has a new line