(bug 47086) improve image caching

Caches thumb files explicitly in local filesystem so we can
load them synchronously during scrolling. This reduces annoying
reload delays from relying on NSURLConnection, which always
returns asynchronously.