add preDelete hook for files_trashbin app

please review @icewind1991 @schiesbn @DeepDiver1975