Put group message caches into subdirectories

Having 60k files in one directory makes it hard and slow to work with

Includes automatic migration, but dropped support for years old version
format 2.

Change-Id: I02e421941ad68e91f3627baa56870f515389bb1b
Merge "Put group message caches into subdirectories"