XMP issue since v5.0

Hi. I have a hazel rule that has been running for years that renames a .XMP (image sidecar file) based on its metadata (xmp:CreateDate). But after the 5.0 update it stopped working. I've been trying to fix it but hazel reports the files content as empty, and it can't match the data. Anyone having this issue? Those .XMP file are just text files so it's contents should be readable by Hazel but I've tried multiple times, even with old files that worked in the past and always get the same result, the rule doesn't match because "contents" is empty. Any idea about how to fix it?
Thanks
Thanks