PHP SDK updated to upload file from memory