I’ve had a similar issue with file associations and have just posted a bug report with workarounds here:
I hope it helps you or someone landing on this report.