Delete the tmp dir for pdf exports when plugin is disabled.