Improved read/write performance

- treat binary-data directly
- read from fd up to 64kB at a time
Improved read timeout (w32)
Comment out unused functions
Remove unused functions
Merge pull request #161 from Shougo/improve-readwrite

Improve read/write performance