fixed hack - just made sure TMPDIR was defined on heroku