Try to cleanup files only if they stil exist

Fixes #738