make ensureReportDirectory a separate gulp factory task