added fn to write doc to output stream
function names indicate excel document destination
Merge pull request #1 from jebberjeb/render-to-stream

added fn to write doc to output stream