Use data dir and not cache dir.

Cache dir is volatile and can be cleaned out by OS at any minute.