add syswrite method. This method uses the syswrite internally. Writing is not buffered
support tied syswrite
Merge pull request #4 from kan/syswrite

add support syswrite