Fixed problem serving static files on Windows 

Open static files with mode 'rb' to ensure correspondence between Content-Length header and transferred file size.