Thanks, your fix worked.
If you need more details, the error is still occurring when the game tries to save. The error is:
Uncaught Exception:Error: EBUSY: resource busy or locked, rename