Use db_name as database name in dump_db()

Was previously using project_name which seems wrong