dist/pyterm: enable unicode decoding

fixes #1371