Mavlogdump fix

There was a bug in mavlogdump.py when extracting data in CSV format that this fixes.