You might actually be spot on!
I wasn't able to reproduce the error (yet), but when I checked back in Unity, I noticed that my debugging tools are enabled in the final build - among those a gif-recorder. It might be possible that this one fired and tried to save a gif to your computer.