Remove traling spaces, replace tabs with spaces