Update FileCache.php

If cache folder is not writeable, then it would be useful to set the errrorcode in the exception, so that the symfony app/console will return a non-zero code.