Performs an atomic file write using an isolated temporary file followed by atomic rename. Retries on transient Windows EPERM/EBUSY errors.
Target destination file path.
File content string to persist.
Performs an atomic file write using an isolated temporary file followed by atomic rename. Retries on transient Windows EPERM/EBUSY errors.