fix a bug in reading timestep file

- CHG : clear the isstream befero reuse it