Do not crash when trying to upload multiple files

Change-Id: Ibe4fe6b7518f9634fc0d9ce8bda9ccbd9ee9c30d
GitHub: https://github.com/wikimedia/apps-android-commons/pull/30