Fix coding style in src/core/stream.js