ShareBox: Fix deletion of files during the clear list operation