hmm I see that... and yes it is a write failure; Is there a chance those two files are somehow locked to editing or something (that specific error message (AFAIK) should* only happen if the file can't be written)?
If not and a windows restart doesn't make it work and it is working on your other meshes (sounds like it is but not 100% sure from your post), please send those meshes for testing and figuring out what is up with them... also what spell were you running (Optimize?) (I can see that you were running opt_geometry but can't tell what else from those pics).
* of course 'should' isn't always the case
*Before I temporarily disabled UAC, I tried changing the folder permissions so that my user account was the owner of the files and folders and I changed it so that everyone had permission to have full control over those files (I can explain in greater detail if you don't know what I mean). That didn't work either. And before that, I changed all of Python's EXE files so that they run as administaters. I don't know if there is anything else I can do to give write permission.
*Restarting PyFFI and Windows doesn't work either.
*There were about a dozen meshes that gave me this problem. Every other mesh I optimised didn't have that error.
*Correct, I was optimising the meshes (by right-clicking on the folder).
*I have posted one of the problem meshes in the PyFFI bug tracker on Source Forge.
I also have a few more questions.
First, does PyFFI keep track of the meshes it has already optimised in a specific folder? This is one of the features of the PyFFI automater and is useful if you can't keep your PC running for the entire optimisation session.
Two, what happens if you try to optimise a mesh that PyFFI has already optimised (whether it is the same or an older version of PyFFI that optimised it)?
Last, what does PyFFI do with a mesh that has a flame or light node attached?