Checks & restores cache directory on the go (#4)
Merge pull request #7 from jurajkapsz/master

Checks & restores cache directory on the go. Fixes #4