Atomically writes content to filePath under the write lock. The original file is never touched unless the new content was fully written and verified.
content
filePath
Atomically writes
contenttofilePathunder the write lock. The original file is never touched unless the new content was fully written and verified.