Reduce IO by buffering reads and writes more efficiently
Merge pull request #42 from smspillaz/cmake-unit.item_40

Fix coverage reporting on Windows