Fix hard link detection
The previous algorithm was assuming all files of a size group, or none of
them, would be hard links.
For size groups with both hard links and regular files, the detection could
fail.
# TODO:
* Clean up, fix variable names
* Add version number
* Sort results?
* Possibility to accept file list from stdin
* Check Windows portability