grunt.file.read reads the file as UTF8, sha1 crypto expects a bytestream