Fix --dbname and --dbuser issue with csvlog format. Thanks to Luke Cyca for the report.