This is probably what you want to change:

This abstracts away “atomic saving” and you could replace it with something that is basically a no-op, e.g.:

Thanks Allan, this is a huge help 

But don’t blame me if you experience data loss!

Don't worry, I wont!

I'm seeing occasional data loss as it stands anyway, but I'm certain its due to some oddity with samba.
Hopefully this change will help shed some light on what the actual problem is

Gits got my back for these occasions anyway :-)