Implement first cut of stats CSV file read/write.

- Change average computations to use floats.
- No real unit tests, yet.