Fix python3 recoding to unicode