Unable to upload file to datastore