Just realized ioutil.Discard existed.

Replace used of nullWrite with ioutil.Discard.