propagate datastream errors

zlib can fail