Fix crash on file upload conflicts.

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