CORE-4045: When a file is moved to the trash, all data links are
deleted.