Meta server: fix file counter update in checkpoint restore logic.