add a test for write api with encoding, callback
fix for issue#12

add encoding, callback to coffeescript, run make

modified:   lib/index.js
modified:   src/index.coffee.md