[ruby-core:122360] [Ruby Bug#21391] Inconsistent trailing slash behavior of File.join and Pathname#join with empty strings