fix chunk files not actually being deleted