Optimize MultiBlobInputStream.read()