sesman: fix for reading pid file