fixes #26, using os.tmpdir. gifs also seem to work on OSX now, presumably because of updates to tesseract