Issue #28227: gzip now supports pathlib

Patch by Ethan Furman.
4 files changed