Added default extension option (useful i.e. for JSX projects).
Fixed passing path to through plugins.