fixed _sys_read()/_sys_write() issues.
Merge pull request #204 from aozima/pulls

fixed _sys_read()/_sys_write() issues.