Fix crash on file upload conflicts.

The app crashes when creating the alert when there is an upload conflict. Fix the crash so the alert can display.