Having sha1 requires dependency on OpenSSL when it is not necessary. A filesystem library should ONLY provide the basic functionality to traverse folders, and provide means to read/write to file streams. Nothing more.
Hash/base64 etc. can, and should, be provided outside the library.