Fixed trailing spaces and TAB to space conversion