Fixing ioUtil.cpp - clear stringstream before re-use.