switched to ios_base::failure from detail::failure vor VC6 (note: 'old' iostreams support is not possible here)