fix bug in file-not-found due to incomplete init of the ios_t