Don't duplicate extensions given as part of name

It's a pretty typical error and it would be nice to just move along;
I don't think anybody really wants a `foo.js.js` module.