[1.4>2.0] [MERGE #2938 @dilijev] Fix summary.log by appending to file instead of overwriting it.
Merge pull request #2938 from dilijev:fix-test-summary
For a while now, summary.log has been empty in CI artifacts when unit tests fail. Turns out we were overwriting the file with native test results instead of appending to it.