Fix BufferedStream namespace