OTHER-1014 implemented file lock so upper layer can tryLock on the file successfully. we just retrun a new object filelock to imitate native fs.