integrity-checker.pl: strip newline from hash-file input