Fix warnings related to secruity concerns on varargs functions. By specifying "%s" on single string calls to sprintf() (and related) it's not possible to have a % in the input string causing random data to be read off the stack.