Rails: Fix copying template database.yml for new apps