Moved offset initialization to fetch_offsets method.

This is used in initialization for auto commit but is also useful code
for times when auto commit is not turned on.