Using file upload response to update filestore collection.

Also fixing error messages for uploads.