The error seems to be occurring in the C:\Windows\System32 folder which is (or can be) a protected Windows folder. You may need special permissions to safe files in this folder.
Does the error occur if you save the file in a non Windows protected folder?