Allow customizing registered file extensions

This allows you to customize the extensions used. (I'd like to use `.es6.js` for simplicity, but others might prefer the plain `.es6`).