Replaced printf with sim_printf.
More General cleanup migrate to using sim_printf vs separate calls to printf and fprintf(sim_log).