Untabify and remove trailing whitespaces.