Buffer.isEncoding appeared in v0.10 (not supported earlier)