ENH: Added method to compute block offsets in file