small change to fprintfs()