Set file associations in setup

Fixes #725