Dir.exist? is not in 1.8