Add fputs_unlocked.