Untabify and remove trailing whitespace.