fixed #18 - child_process fails if options is null
issue #14 - tee was not writing undefined to end the stream