critical(hangs):Digest::SHA512.file raises an Errno::EISDIR when passed a path that is a directory
