Replace stream size with unsigned size_t.