Changed default tmp path and cached the converted image.