Set stdout to unicode encoding (required if redirecting to a file on Python 2.x), closes #3