exts (list[str]) – List of file extensions (e.g., [‘.xyz’]).
encoder (Callable[[Any], bytes]) – Function to encode data to bytes.
decoder (Callable[[bytes], Any]) – Function to decode bytes to data.
nonfinal (bool) – If True, allows stacking (e.g., .json.gz).