A man bitten by a dog on a footpath died from complications of a wound on his leg, an inquest opening has heard.