AVRO-1741: Py3: Fix error when codec is not in the header. Contributed by Matthew Hayes.

This happens when the compression codec is None, meaning the
"null"/uncompressed codec.
2 files changed