Remove trailing whitespaces.