unicode encoding for py27 users