[[ Bug 13056 ]] Return IO_ERROR if we don't read a valid type when readi...

...ng value ref