internal/charmstore: store SHA256 hash too

We need SHA256 for the legacy API.
Nice!