Quick & dirty shell script to convert log to csv