Promote incorrect bzerr stream type to TypeError This restores the signature we originally promised for PHP-8.0, without the spurious false return type.
Fix stubs for bzerr* functions These can return false if the stream is not a bz2 stream. Also emit a warning in this case, this should not be failing silently.