joyent/node — pull request #5928 by kapouer (2013-07-28 16:00:42+00:00)
Title: fs: readFile and readFileSync throw EISDIR on a directory.

Some OSes (freebsd) allow to read a directory.