TYP: remove # type: ignore for unpacking compression_args
eg. compresslevel for GzipFile is an int and compression in get_handle is Optional[Union[str, Mapping[str, Any]]] = None

once we adopt TypedDict, then maybe we could be more explicit here, but for now Any is appropriate.

the ignored message for GZipFile is `error: Argument 2 to "GzipFile" has incompatible type **Dict[str, str]"; expected "int"`
> lgtm; these are just kwargs that get passed to zip file .write correct?

you mean .open? from https://docs.python.org/3/library/gzip.html?highlight=gzipfile#module-gzip

> Changed in version 3.3: Added support for filename being a file object, support for text mode, and the encoding, errors and newline arguments.

so maybe (in a followon) remove the `if is_path` for `compression == "gzip"`