sha1_file.c: make pack-name helper globally accessible