Switch to fputs for output

Switches from fprintf to fputs for final output because output
isn't formatted.