Fix several format string warnings