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

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