fails:Digest::SHA256.file raises a Errno::EISDIR when passed a path that is a directory
