       if not initialized
         initialize()
 
+      out = fs.createWriteStream zipPath
       zip.pipe out
 
       async.parallel fileStack, (err) ->

      type = type

    setOutput: (path) ->
      if out?
        out.end()
      out = fs.createWriteStream path

    add: (path, callback) ->
      if not initialized

    initialized = true

  return {
    setOptions: (opt) ->
      extend(options, opt)

