fix using result of void function in opToolkit::writeCacheFile() (fixes #3709, BP from #3302)
Merge pull request #202 from isaosano/t-3709

fix using result of void function in opToolkit::writeCacheFile() (fixes #3709, BP from #3302)