Use mkdirp to create missing directories when piping to path. Don't use resumer, use streams.Readable to queue data and end the stream when the destination is ready.