bugfix: prevent vishnu sessions pid files corruption

add a file lock to disable concurrent accesses to ~/.vishun/sessions/<pid> file
fixes #135
bugfix: add exception handling code to vishnu session pid files save

Cf. previous commit, in some cases (rare ?), file locking code throws an exception.