Removing trailing spaces and converting tabs to 2 spaces