Fixes console.log 'Unknown stream file type' err

Fixes issue #10