git: close object database when done
git: close object database when done

When we're done with the object database, close it, so we in turn close
the pack files and free the file descriptors associated with them.

github/git-lfs,github/git-lfs,github/git-lfs