Implements saving cached Images to the disk.

Implemented caching to Caches directory.