Don't throw a error when writing JSON fails
Merge remote-tracking branch 'minetest/master'
Merge remote-tracking branch 'upstream/master' into lag