File.expand_path maintains the encoding of the path arg

File.expand_path should maintain the encoding of the path arg for the returned expanded path.

Moved the expand_path method in file.rb to file18.rb, file19.rb and file20.rb to support encoding