BUG: Ensure incomplete stata files are deleted
Attempt to delete failed writes and warn if not able to delete

- [x] closes N/A
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
