MFC r345130,r345184: trim(8): add another safety net and more user-friendlyerror message in verbose mode.