PYTHON-800 - Clean up internal use of CodecOptions.