Virtualenv support, unicodedecoderror fix