Ruby: File.expand_path instead of stringByExpandingTilde