Use fputs instead of fprintf.

Using variable format string is insecure.