set chunk size to 5MB or max php size

Change-Id: I241ec09ab85cad3f23be7d574aaccb666feb3c0c