support `chunked_upload` and `files_put` with curl PUT method

Upload of the large file by curl PUT method for which it does not depend on the memory of PHP.
Please remove the @ from this line. Using it to "ignore" errors is not acceptable