scripts: sercomm-payload: add PID file support