7.x emic 210

Can we move this out into it's own file? Utilities is crowded and deprecating mime_detect (as i hope we get around to) will necessitate mime work having it's own include file.