Provide stable internal links between files

Replace the ordinal in the report file name with the truncated hash of the full
file path.
Use the first line stored in the profile file as the first line of subs

It's more accurate, stable between runs, and allows uniquely identifying
anonymous subs/BEGIN blocks.