fix bug in riak-cs and riak job's _ctl script that incorrectly extracted the PID