Fix piping to process.stdout and process.stderr

process.stdout and process.stderr are not closed or ended after piping
like other streams. So we must resolve them manually.
add .gitignore
Release 1.0.1