Update index.php

update function createFile when upload large file