[Olena-patches] 3675: Add a routine to generate formatted debug filenames.