fix tmp configuration for textprocesser also cleaned up cache for cakePHP