Error ‘Cannot Write File (file path)’ with AIF files

In such "random" cases, I suggest to check it by yourself.
You could try a tool like Procmon to see IF and WHAT process access your files during your Mp3tag changes. You can find a detailed "howto" for procmon here on this external (not affiliated) website:

Please be sure to start with a filter like the path to your AIF files. Otherwise the number of entries will be overwhelming: