Stop using dprintf; only need write.