Fix format not a string literal and no format arguments warnings