Fixes page violation when < or ? is the last character in the file and file size is a multiple of memory page size.