Deleted files should not break transfer requests: fixes #3927