Moved map cache to filesystem-specific caches

Fixes #19