Medium delete now works for individual Inodes, instead of removing the media directory. Fixes #1517