added filelock while performing data manipulation on fdb bucket

Merged Vivek Naik requested to merge fdb_file_lock into devbranch