node.js library: add encoding option and add paramater type Buffer
Merge pull request #112 from shibukawa/nodejs_fs_encoding_param

node.js library: add encoding option and add paramater type Buffer