std::ios::seekdir::beg sneaked in again!