Disadvantages of C++ stream-based IO