added skipField methods to primitiveReader and fixing write
compatibility.