Script to convert a sql file from a mysql dump to csv files for python3, preserving the table name, headers and handling multiple insert statements per table. Largely based on the python2.7 script by jamesmishra, which can be found at https://github.com/jamesmishra/mysqldump-to-csv.