Add support for node 0.8 to filter stream