use binary mode when creating md5