prefsutil --stringarray foo bar baz

prefsutil can now take arbitrarily long (or short) arrays of strings as typed arguments to prefsutil write.