Fixing Postgres database.yml template.
Generate linked files right before they are checked.