Fix #1260 by updating the Id casing on each upload.

Fixes #1260