Update Image.cc

fix fopen mode for non-POSIX platform : on POSIX platform, fopen open file in binary mode by default. On non-POSIX platform (like WIndows), fopen open file in text mode by default. Using 'rb' mode fix this issue.