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