Dump MySQL database into CSV files