mirror: add try / catch to file write
mirror: add try / catch to file write

write is more ciritcal for right issues... we probably don't want a broken sync to crash whole adapter (and create a start-crash-loop).

Probably we should wrap all file operations in try / catch blocks.

ioBroker/ioBroker.javascript,ioBroker/ioBroker.javascript,ioBroker/ioBroker.javascript