cpdf_adapter cleans cache file more carefully