Fix pid writing with olsrd (#1480)