changed stderr decode to ignore non-utf8 characters