hazard/writers, __init__:

Updated hazard writers to be able to write to either a file-like object
or simply a file path.