nav-emms-cache.el: Generic code for saving lists and hash tables at once.