Add a missing `require "pathname"` to the Rake helper