hazard/writers:

Handle the optional source model name properly when writing a source
model.