Fix Pathname#hash (detected by RubySpec)