fn replace_file(path: &Path, content: &[u8], mode: u32) -> Result<(), ToolError>
Temp + rename over path.
path