set binmode to avoid 'Wide character in print' warning
Merge pull request #124 from jsx/abicky/set-binmode

set binmode to avoid 'Wide character in print' warning