Update index.php

As in this issue : https://github.com/aheinze/cockpit/issues/27
Storage folder has to be writable, the error suggest otherwise.