cmd/add: output file hash Fixed #239