Fix decode issues with subprocess results for python 3