title: ZipArchive::close(): Failure to create temporary file in AWS EC2 Linux
body: <p>I am working on cron jobs in laravel 5.2, when i try to call a controller function from schedule to create excel sheet getting Error. but runs fine in postman.</p>
  
  <p><code>ZipArchive::close(): Failure to create temporary: No such file or directory' in /var/www/html/Expenses/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:398</code></p>
  
  <p>Problem with temp file permission for zipArchive?</p>
  
  <p>I am getting above error while save phpexcel sheet to directory(777).</p>
  
  <pre><code>$excel_path = 'SubmittedSheets/'.$userId.'-'.uniqid().'.xlsx';
  $objWriter-&gt;save($excel_path);
  </code></pre>