utils: Set some FS flags on our temp files

Disable COW on our temp files, if the FS it's on supports it.

(cherry picked from commit 4b4cb33957749a2f194aeec63c1b17b4acd29c02)
Version 0.36.3
Post release version bump