lock_raw_ref(): add a files_ref_store argument