Node.js 0.8.* fix file.write.