Support streaming nli_tr dataset
_The documentation is not available anymore as the PR was closed or merged._
Support streaming nli_tr dataset.

This PR removes legacy `codecs.open` and replaces it with `open` that supports passing encoding.

Fix #3186.