Force deleting embedded files

From #4150.