Possibility to use file extensions other than .js

With this little trick one can use custom file extensions (i.e. `.es6`) without the need to translate them into `.js` every time. Some edge cases will be penalised by a double check on the filesystem, but hopefully those edge cases could be very rare.