sha1_name: get_sha1_with_context learns to follow symlinks