fix: added nil check on c.CruSession to prevent crash
Merge pull request #510 from jfolkins/fix_sessregenid

fix: added nil check on c.CruSession to prevent crash
Update sess_file.go

Lock required to ensure the File sessions work correct.
Merge pull request #511 from francoishill/patch-2

Update sess_file.go