Remove trailing spaces with \ s.