Add explicit locale versions for the printf family. Replace asprintf,snprintf and sprintf with simple wrappers around the correspondingva_list functions to reduce code duplication.
add dprintf and vdprintf