Fix a bad format issue in adminimage.upload