md5 check fix for path with spaces