Update sh.py

trying to fix encoding problem: https://github.com/amoffat/sh/issues/112