Explicitly create pathnames in sanity_check_spec.rb

This is so that we can return strings *or* pathnames from
RSpec::Core::RubyProject.root