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

This reverts commit 66e08fe0d978ee6ca6ce1c965ae99678a4f0c88b

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/22038
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn