Move image caching to the filesystem instead of 'localStorage'