fixed typo in split off of openFromStreambuf function