Converting tabs to whitespace, and trimming all trailing whitespace