bug - if parent directory of $cachedir does not exist the module would
fail.
Merge pull request #9 from n1tr0g/master

bug - if parent directory of $cachedir does not exist the module would