diff --git a/textract/parsers/tesseract.py b/textract/parsers/tesseract.py
index <HASH>..<HASH> 100644
--- a/textract/parsers/tesseract.py
+++ b/textract/parsers/tesseract.py
@@ -1,25 +1,12 @@
-"""
-Process an image file using tesseract.
-"""
-
-import tempfile
-import os
-
 from ..shell import run
 
-def temp_filename():
-    """
-    Return a unique tempfile name.
-    """
-    handle, filename = tempfile.mkstemp()
-    os.close(handle)
-    return filename
 
 def extract(filename, **kwargs):
     """Extract text from various image file formats using tesseract-ocr"""
     # Tesseract can't output to console directly so you must first create
     # a dummy file to write to, read, and then delete
-    cmd = 'tesseract %(filename)s {0} && cat {0}.txt && rm -f {0} {0}.txt'
-    temp_name = temp_filename()
-    stdout, _ = run(cmd.format(temp_name) % locals())
+    stdout, stderr = run(
+        'tesseract %(filename)s tmpout && cat tmpout.txt && rm -f tmpout.txt'
+        % locals()
+    )
     return stdout
Reverted tesseract.py from upstream in response to

@christomitov's update re: ticket #<I> in the conversation for #<I>.