fixed tmp path outputfile of tesseract for heroku