Added locks to make transactions on REGFI_FILE objects thread safe
Added initial version of a threading smoke test