provide a method to open an std::filebuf