fixed syntax error when pidfile is not readable or samba not installed
put common process/pidfile functions into arsoft.check_mk module and use them
next version