Convert tabs to spaces and remove trailing space.

For: RT #123377