use lockfile.c routines in git_commit_set_multivar()