cwmine fixes for some issues in the CSV case recorder

Full info can be found here:

https://github.com/OpenMDAO/OpenMDAO-Framework/pull/1677