I, too, have the same issue. I'm running on a Gentoo linux system with PHP 7.0.25. I've verified the directories are writable. I've even made them world writable! The error remains. According to my googling, the problem may be due to PHP 7. I'm installing PHP 5.6 to test it.