Switch to calloc in mk_createWriter, so we don't have to do a memset.