modify notmuch_setup_command to return 1 if config file write fails.