Revert "[BUGFIX] sys_file record doesn't get flagged as delete"

This reverts commit d22cea3b61ffec1931bf5b12dd9cddde5eb28ca1

The patch kills unit tests. We guess there is some incomplete
mocking in Resource tests but are not able to quickly find
the root of it. The patch is reverted for now until the tests
are green again.

Change-Id: I5e7bb6e14187f7179e00b0b00decda644e1c6efe
Resolves: #48336
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/22034
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn