Fixed MD5 digest on Windows

File.read(file) doesn't seem to work well on windows
https://www.ruby-forum.com/topic/90494
Fix diff for Windows users