Add support for multiple extensions (e.g. docpad)