Chunk server: implement generation count with DiskIo::File in order to detect stale file close.