fix: create cache dirs to avoid file copy errors

This fixes builds that don't use caching.
fix: Separate cache from output files in yml report

Otherwise the output may look non-deterministic if there are stale files in
the cache.
Merge pull request #64 from theuni/cache

cache fixes