use --binary option of md5sum to improve compatibility with other platforms (#5192)