Fix stats.csv naming problem
Merge pull request #173 from SharadGandhi/issue-121

Fix stats.csv naming problem
Merge pull request #177 from shaoshal/master

handle input files that contain bad lines
fix issue 178