Debugging for failed file downloads