The solution can be to remove line "CertUtil:" from output.
(for /f "skip=1 tokens=1" %a in ('certutil -hashfile "path\to\your\file" MD5') do @echo %a & goto :done) ^| findstr /R "^[^:]*$"