check encoding for old streams1

For node.js 0.8, since package says `node >= 0.8.0` ;)