Better file stream I/O for communication with server.

Signed-off-by: Paul Buonopane <paul+git@earth2me.com>
Merge branch 'master' of github.com:Zenexer/MineScript