Update to mime-0.4.*, which uses Text rather than String

mime-0.4 uses Data.Text in its API rather than String, so stompl doesn't compile against it. This is a quick patch I threw together to make it compile. There may be a more elegant way...