fails:File.read raises an Errno::EISDIR when passed a path that is a directory
