Fixed issue with 4-byte characters not being written properly
Merge pull request #25 from redolent/master

Fixed issue with 4-byte characters not being written properly