More Zend compat fixes for the Stream API