Fixed bugs with uploading large files on small memory cloud server