Dispose of media files that are no longer referenced in the database.