Open files in binary mode on Win32

closes #8
Handle sohrt reads / writes

It is valid for read/write to read lesser data than requested, we should
be able to handle that.

closes #8
Merge branch 'issue#8-import-account'