Fix for non-Wester characters

Fixed issue #1 (non-Western characters) by encasing the output chunks
in str().