Mime types should not be unicode strings