Add generation support for diskpacked.

Maybe we should refactor the common code to pkg/blobserver/generation ?

Change-Id: Ib04125805d5a1960bd29a474d3fc7ca985708d8d