update to read.output() function.  Fixes issue #1812 in Redmine
Merge pull request #54 from serbinsh/read.output

update to read.output() function.  Fixes issue #1812 in Redmine