Add getter for block index for BlockOutStream

Add getter method for block index for BlockOutStream for cataloging block stream.