lib: use readable-stream instead of stream