Agent Procedures - WriteFile() fails to write files to C:\Windows\system32