Fix creating dive info dictionary before save.

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>