Fix a bug, when muti threads write the same file, we need to use w+