Changing to avoid character corruption in endFile().

To avoid the occurrence of character corruption in endFile(),
I modified that convertValue() will be skipped when shift JIS characters.