fs: readFile(Sync) throw EISDIR on a directory.

Some OSes (freebsd) allow to read a directory.