Issue #124: Accomodate for Nokogiri Java implementation which is incapable of handling streams.