Fixed importing CSV data

Fixed double-quoting when importing CSV data and converting to SQL statements.