archival: avoid touching deprecated gzip name attribute
The existing workaround didn't work when no filename was specified.
If running in a context with warnings enabled and subsecond mtime it gave a
warning:
DeprecationWarning: use the name attribute
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null