Set insert_final_newline to true
Remove ensure (for compatibility) and replace
Fix line spacing
Remove --routines as a default mysqldump option
Add newlines