fix duo.resolve()

If path is not a manifest file and it has extension name and it's extension name is not equal to entry's extension name, then duo will resolve wrong path.

```javascript
require('./module.test');

// should equal to

require('./module.test.js');
```