Replace File::Slurp with Path::Tiny

Hi,

Thank you for your work on this module.
This short pull request replaces the use of File::Slurp with Path::Tiny within one test, and removes File::Slurp from tests where it was not being used.

See also

https://rt.cpan.org/Public/Bug/Display.html?id=95484