Use gsub_file instead of running sed to add collation settings to database.yml