Beautify: replace tabs with spaces and remove trailing spaces