DRY. Consolidate gzip_dir method in custodian.