Upload in binary mode, it will work.

See FAQ

Fatal error: Unable to read XXXX bytes