File.expand_path as in ruby
Merge pull request #163 from kostya/expand

File.expand_path as in ruby