Fix issue with encoding in node 0.8.26