Tighten mime type regexp to include .+- as these are allowable characters.