promisify a node stream