Add workaround for fputs()

Turbo C++ 1.01's fputs() appears to incorrectly return EOF when it
receives an empty string.