Fix upload of huge files