EllisLab/CodeIgniter — pull request #2986 by aanbar (2014-04-02 15:21:36+00:00)
Title: do not create un-needed files.

If $file doesn't end with a slash it's considered as a file,
is_really_writable is creating a new file & leave it there when what you really want is checking if directory is writable.