Create cache directory

This pull request adds the creation of cache directory.
and then we can simplify this to just use [keys()](https://github.com/puppetlabs/puppetlabs-stdlib#keys) from stdlib:
```puppet
$paths = keys($storage)
```