PID file handling for bpviewd