Modified write and writeSync to accept replacer and space argument (just as JSON.stringify does)
Merge pull request #3 from simonfan/master

JSON.stringify(data, replacer, space) support