Fix for bug/1238895: normalize plain text mime types.

Change-Id: Iec5f37a37055a41816ec00eef009eb0c05b328c8