Try to use tmp instead of .tmp for heroku