notmuch-config: replace config reading function