improve

1. use through2 instead of event-stream
2. error handle
3. remove tmp
4. fix testcase