add hostname to cache filenames

In the case where this is running from one host against multiple puppetdb hosts (presumably in different environments/stacks), we need to include the hostname in the cache filename.