Move from File::Slurp to Path::Tiny

This test uses File::Slurp, known to be buggy and vulnerable.
This change moves to Path::Tiny as an alternative. See also:

https://rt.cpan.org/Public/Bug/Display.html?id=95484