uploads for big files fixed

otherwise we get a memory_size exception
Merge pull request #109 from yacon/master_upload

uploads for big files fixed