[3.8] Fix PHRAS-77 Set proper filename metadata attribute