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 and file19.rb to support encoding