Trim trailing whitespaces from record fields.