Add sha1file.js

Calculates the sha1sum of a file given by the first argument of the
command line.