Fix file removal.