Move vsprintf functions into their own header