Add md5-based file comparison when available with cmp fallback.