Fix sprintf formatter warnings