[TC-5097] fixed IOStream example documentation