Fixes issue with cache dir creation
Merge pull request #4 from garyr/develop

Merge to master