fix fs-example
fix onWrite
use data
add global process
Merge pull request #532 from luvit/fixes/fix-fs-example

fix fs-example
return the exit code
Merge pull request #533 from luvit/exit-code

add global process
add init system