We don't know what side effects this has since `sitecustomize.py` is called at Python startup time. Perhaps change this to:

```python
import sys
if not hasttr(sys, 'setdefaultencoding'):
    reload(sys)
sys.setdefaultencoding("utf-8")
```