Maybe try some foil tape. Should resist the heat and stay in place. Never tried it in an engine compartment before though. It'll allow you to get it into the accordion area and will hold it's shape.