git-commit: Implement racy-safe save_index() with ln instead of cp -p.