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.
Use of the @ to "ignore" errors is very bad. Please remove that