Convert readable streams to promises