Use Dir.mkdir and Dir.exist? in helper.rb.