Calculates the signatures of all files in the 'inFiles' list and writes
a signed dictionary to 'filename'. If the dictionary file already
exists, it will be overwritten. An exception will be raised on error and
the partial dictionary file will be cleaned up.