Reformat text (convert tabs, remove trailing spaces, …)