fix: unicode runtime error with python3

Output from Popen is raw bytes in python3, must be transformed to
unicode first: use default codec.