fix python 2.6 error
fix exception if PID file missing