fixing error with tmpfile if cache dit doesn't exists
Version 0.0.7