iOS upload hack

For some reason the return string we get from FileTransfer on iOS is URI-encoded. Not sure where the bug lies, need to track it down later. Decoding if the first JSON parse fails.