compute score only once for each candidate

Thanks for adding fuzzy matching!  This patch keeps the sorting behavior the same, but does it more efficiently by computing the score only once for each candidate.  For me it boosted performance by 10x on a list of 5000 files.