fix bug in parsing beyond end of file, and additional null string in wstringarray variant type.