Remove trailing whitespace from localedata.