Fixed caching directories.

Now, only one directory is used for caching, instead of three separate ones.

Fixes #2.