Pull out a chomp_newline function from "notmuch setup"