Fix upload of base64 encoded files.

Fix #69