Improve addprefix and addsuffix to handle lists of words as first argument.