Added write to path methods for gzip and html outputs for #59.