Fixed base64 encoded uploading