The previous pull request #12 has introduced a small bug and here is the fix.
A typo fix is also included.
Fix 'Fix reading files with very long lines'
Should have closed string buffer when not enough amount of text is read.
Fix typo in enum
OPENCC_ERROR_ENCODIND -> OPENCC_ERROR_ENCODING