update streams code to match 0.8

This matches exactly what is in v0.8 now on joyent/node

I need this for the `if (dest.destroy) dest.destroy()`