Adding Stream support.

Adding an additional function: getAsReadStream.