Making the gif upload actually work (needs to be base64 encoded).