binmode for windows (#23)