Fixing OpenSSL errors in text importer.