fix lockblock bug in checkpoint thread in workerstorage
close the checkpoint file before moving it
Merge pull request #512 from shimingfei/lockBlockFix

fix lockblock bug in checkpoint thread