Update File.php

scandir return . and ..
so is_file return false at /cachedir/., when file_exists return true
Merge pull request #8 from nike-17/patch-1

Update File.php