[boost] maybe a bug in boost.iostreams