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