Fix #57. Set the buffer as unibyte then multibyte again.
Merge pull request #125 from vermiculus/issue-57-unibyte-vs-multibyte

Fix #57. Set the buffer as unibyte then multibyte again.