Fix the PIPE_BUF limitation bug.
Fix the __len__ bug.

Because I define the __len__ in Stream but not define __nonzero__, "if
stream" or "if not stream" will use __len__ to determine the truthness.