Script to convert mongostat output to csv format