File uploads are failing after getting to 90 percent