Fixed PHP 5.6 CURL file upload