Delete failed uploads

Fix for #83 and other dataset deletion functionality.