#4084 fix bug with rewriting file, n.b. if parallel thread writes in file, file will be rewritten, I not yet understand, why locking inode and sblock not helps, BUT use case was implemented