Change Dir.pwd to Rails.root due to tmp files sometimes getting stored in other folders
Merge pull request #56 from itchy/rails_root

Change Dir.pwd to Rails.root due to tmp files sometimes getting stored in other folders