Fix ragged CSV ends and set the psql password correctly.