[data-uri] handle MIME types in decoded strings more completely