Add stop-writes-on-bgsave-error config option

Not much else to say :)