Correctly encode parameters as utf8 in uploader API