Session handling: Do not ignore return value of I/O functions
Session handling: Do not ignore return value of I/O functions

... on Windows.

Task-number: QTCREATORBUG-23839
Change-Id: I7b2bc8318dd5fe39583bc7ed0367425e1d062171
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@qt.io>

qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs