std: String.init doesn't exist pre 4.02
locate: try to use source digest to select source file before using heuristic

Thanks samoht for the suggestion on #284