Update rex for dulwich. Fix run_on_server executable bug.