fixing bugs of readSendFile on Windows.
fixing bugs of readSendFile on Windows.

yesodweb/wai,rgrinberg/wai,frontrowed/wai,tolysz/wai,AndrewRademacher/wai,urbanslug/wai,frontrowed/wai,tolysz/wai,erikd/wai,dylex/wai,rgrinberg/wai,utdemir/wai,mfine/wai,frontrowed/wai,erikd/wai,coypoop/wai,kazu-yamamoto/wai,rgrinberg/wai,mfine/wai,soenkehahn/wai,dylex/wai,dylex/wai,rgrinberg/wai,awpr/wai,dylex/wai,iquiw/wai,AndrewRademacher/wai,sordina/wai,soenkehahn/wai,utdemir/wai,rgrinberg/wai,iquiw/wai,sordina/wai,soenkehahn/wai,coypoop/wai,coypoop/wai,erikd/wai,urbanslug/wai,erikd/wai,iquiw/wai,tolysz/wai,coypoop/wai,utdemir/wai,AndrewRademacher/wai,sordina/wai,awpr/wai,creichert/wai,yesodweb/wai,awpr/wai,urbanslug/wai,soenkehahn/wai,mfine/wai,creichert/wai,frontrowed/wai,iquiw/wai,kazu-yamamoto/wai,tolysz/wai,AndrewRademacher/wai,urbanslug/wai,mfine/wai,utdemir/wai,awpr/wai,sordina/wai