BF: _get_dec_method() returns default if unknown

- also add CodecRegistryError