Check packed-refs filestamp before reusing mmap. Avoid using a stale mmap() by tracking the filestamp.