Fixing error checks in Cache\Backend\File