Make message export not rely on message keys being in the MessageStoreCache.

This assumption goes away with the work going on in praekelt/vumi#675. Currently the message store cache is being used as a convenient way of retrieving message keys and timestamps, an alternative to that needs to be found.