x509: Handle non-UTF8 ASN1 strings correctly by converting them to UTF8.