Overrides cachelib's _remove_expired to delete empty/truncated session files that cause endless "Exception raised while handling cache file" warnings. Also cleans up corrupt files at startup. Fixes #1180