mozprocess (commit to upstream mozbase): various fixes in processhandler.py