regenerate.pl: remove File::Slurp dependency