Need to use a portability wrapper around snprintf.