Get rid of deprecated $fh.slurp

since the file handle is used only for slurping, there is no need to
create it explicitly, using just "slurp $filename" is shorter (and
not deprecated)