Removes trailing spaces and tabs